﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NF_Mode;
using NF_DAL;

namespace NF_Bll
{
    public class Menu_Bll<T> where T : class
    {

        /// <summary>
        /// 根据用户角色获取菜单
        /// </summary>
        /// <param name="bar">框架应答消息</param>
        /// <returns>菜单列表</returns>
        public static List<dynamic> GetMenuByUserRoe(ref BaseAnswer bar)
        {
            List<dynamic> lst = SysMenu_DAL<T>.GetMenuByUserRole(ref bar);
            return lst;
        }

    }
}
